package com.huaxin.hxmoduleworkorder.feignclients;

import com.huaxin.feignclient.device.models.ElectricalRoom;
import com.huaxin.feignclient.device.models.SwitchCabinet;
import org.springframework.cloud.openfeign.FeignClient;

import java.util.List;

@FeignClient(name = "device-client")
public interface DeviceFeignService {
    List<SwitchCabinet> cabinetListByIds(List<String> ids);

    List<SwitchCabinet> cabinetListByOrgId(String orgId);

    List<SwitchCabinet> cabinetListByOrgIds(List<String> orgIds);

    List<SwitchCabinet> cabinetListByFamilyId(String familyId);

    List<SwitchCabinet> cabinetListByFamilyIds(List<String> familyIds);

    List<ElectricalRoom> electricianRoomListByIds(List<String> ids);
}
